package com.example.workshop.lesson4;

import com.example.workshop.lesson4.Filter;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

@Component
@Primary
public class CollaborativeFilter implements Filter {
    @Override
    public String[] getRecommendations(String movie) {
        return   new String[]{"星球大战","火星救援","星际穿越"};

    }
}
